package com.healthcloud.entity;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author yucl
 * @date 2018/7/24
 */
@Data
@Alias("PpPatientBaseModel")
public class PpPatientBaseModel implements Serializable {

    //主键
    private Integer id;
    //用户基本信息ID
    private Long userid;
    //身份证号码
    private String idcard;
    //病人姓名
    private String realname;
    //社保号码
    private String socialinsurancenum;
    //医保号码
    private String medicalinsurancenum;
    //就诊卡号
    private String medicalcardnum;
    //性别
    private Integer gender;
    //出生日期
    private Date birthday;
    //工作单位
    private String workcompany;
    //本人电话号码
    private String phone;
    //联系人
    private String contacts;
    //联系人电话号码
    private String contactphone;
    //学历
    private Integer degree;
    //血型
    private Integer bloodtype;
    //户口性质
    private Integer hukoutype;
    //婚姻状况
    private Integer maritalstate;
    //rh 血型类型
    private Integer rhtype;
    //职业
    private Integer career;
    //民族
    private Integer nationality;
    //援助类型
    private Integer aidtype;
    //身高
    private Double height;
    //体重
    private Double weight;
    //国籍
    private Integer nation;
    //与户主关系
    private Integer relationship;
    //常住类型
    private Integer permanenttype;
    //证件类型
    private Integer cardkind;
    //电子邮件
    private String email;
    //邮政编码
    private String postcode;
    //居住地区编码
    private Integer areacode;
    //家庭地址
    private String homeaddress;
    //管理单位
    private String company;
    //
    private String userimage;
    //户籍地址
    private String registeraddress;
    //负性事件
    private String negativeevents;
    //负性事件其他
    private String negativeeventsextra;
    //建档时间
    private Date createdtime;
    //档案更新时间
    private Date updatedtime;
    //关联到usr-family的id
    private Integer usrfid;
    //类型1=租赁插入
    private Integer type;
    private String text;
    //创建者
    private Long createId;
    //区分来源
    private Integer sourceType;
    //状态0=申请，1=同意，2=用户取消，3=医生拒绝签约
    private Integer state;
}
